package com.lovo.project.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * @author 955
 * @title 宠物实体类
 * @date 2020/11/3 17:26
 */
@Data
public class PetDO implements Serializable {
    /**宠物id*/
    private Integer petId;
    /**宠主id*/
    private Integer petOwnerId;
    /**宠物名字*/
    private String petName;
    /**宠物品类*/
    private String petClass;
    /**宠物种类*/
    private String petType;
    /**宠物颜色*/
    private String petColor;
    /**宠物出生日期*/
    @JsonFormat(timezone = "GMT-8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp petBirthday;
    /**宠物性格*/
    private String petCharacter;
    /**是否删除*/
    private Integer petIsdelete=0;
}
